package com.example.skytakeoutserver.data.vo

import io.swagger.v3.oas.annotations.media.Schema
import lombok.Getter
import lombok.NoArgsConstructor
import lombok.Setter

@Setter
@Getter
@Schema(title = "数据概览")
@NoArgsConstructor
data class BusinessDataVO(
    @Schema(description = "营业额")
    var turnover: Double = 0.0,
    @Schema(description = "有效订单数")
    var validOrderCount: Int = 0,
    @Schema(description = "订单完成率")
    var orderCompletionRate: Double = 0.0,
    @Schema(description = "平均客单价")
    var unitPrice: Double = 0.0,
    @Schema(description = "新增用户数")
    var newUserCount: Int = 0,
)